@(movie: Movie, sessions: List[MovieSession])(implicit lang: Lang)

<div class="row">							
	
		
		
		<div class="well" style="padding-bottom:0">
		
			
				
			<h4>@movie.infos.get(0).name</h4>
				
			
			<table class="table">
				<thead>
					<tr>
						<th width="25%">@Messages("movie.director")(lang)</th>
						<th width="25%">@Messages("movie.release")(lang)</th>
						<th width="25%">@Messages("movie.category")(lang)</th>
						<th width="25%">@Messages("movie.duration")(lang)</th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td>@if(movie.infos.get(0).director == null){ - }else{ @movie.infos.get(0).director }</td>
						<td>@movie.release_date.format("dd-MM-yyyy")</td>
						<td>@movie.category</td>
						<td>@if(movie.duration == null){ - }else{ @movie.duration }</td>
					</tr>
				</tbody>
			</table>
		
		
			
		        @sessions.groupBy(_.lang).map {
		            case (language, sessionList) => {
					<form class="form-search" action="@routes.Staff.editSession()" method="get">
						<label class="session" style="width:180px" for="house1">@Messages("movie.language",language)(lang)</label>
						<select id="house1" style="width:360px" name="id">
						@sessionList.map { session =>
							<option value="@session.id">@session.showtime.format("dd/MM hh:mm aa (EEE)") | @Messages("movie.house",session.house.id)(lang) | $@session.price</option>							
						}
						</select>
					    <input type="hidden" name="lang" value="@lang.code">
						<button type="submit" class="btn">@Messages("staff.movie.edit")(lang)</button>
					</form>					
					}					
				}
			
			<hr>
			<a href="@routes.Staff.createSession(movie.id,lang.code)"class="btn btn-primary" style="margin-bottom:10px"><i class="icon-film"></i> @Messages("staff.movie.session.add")(lang)</a>				 
		</div>
		


	
</div>